import { observable, action } from "mobx";
import { RecommendItemListDto } from "../services/recommend/dto/recommendItemListDto"
import recommendService from "../services/recommend/recommendService"
import { RecommendPagedQueryDto } from "../services/recommend/dto/recommendPagedQueryDto";

class RecommendStore{
    @observable recommends: RecommendItemListDto[];


    @action
    async getRecommendItemPagedList(input: RecommendPagedQueryDto) {
      await recommendService.getRecommendItemPagedList(input).then((res) => {
        this.recommends = res
      });
    }
}

export default RecommendStore
